<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户端：</label>
                            <div class="col-sm-8">
<!--                                <input id="type"  class="form-control" type="text">-->
								<select name="type" class="form-control">
									<option value="">请选择端口</option>
									<option value="0">证书端</option>
									<option value="1">培训端</option>
								</select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">类型：</label>
                            <div class="col-sm-8">
<!--                                <input id="msgType" name="msgType" class="form-control" type="text">-->
								<select name="msgType" class="form-control">
									<option value="">请选择类型</option>
									<option value="0">站内信</option>
									<!--<option value="1">短信</option>-->
									<!--<option value="2">订阅消息</option>-->
								</select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">用户角色：</label>
                            <div class="col-sm-8">
<!--                                <input id="userId" name="userId" class="form-control" type="text">-->
								<select name="roleId" id="roles" class="form-control"></select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">标题：</label>
                            <div class="col-sm-8">
                                <input id="title" name="title" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">内容（200字）：</label>
                            <div class="col-sm-8">
<!--                                <input id="" name="content" class="form-control" type="text">-->
								<textarea name="content" maxlength="200" class="form-control" style="height: 150px"></textarea>
                            </div>
                        </div>
                           <div class="form-group">
                            <label class="col-sm-3 control-label">附件：</label>
                            <div class="col-sm-8">
                                <!--<input id="enclosure" name="enclosure" class="form-control" type="text">-->
                                <button type="button" class="btn inp_1" style="margin-top: 20px" id="btnUpload">
                                    <i class="fa fa-cloud"></i>上传附件
                                </button>
                                <input type="text" style="opacity:0;width: 1px;" id="enclosure" name="enclosure"/>
                                <span id="test"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">发送</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/msg/add.js">
</script>
</body>
</html>
